/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ihmprojet.core.Events;

import ihmprojet.view.onglets.TypeNotificationEnum;

/**
 *
 * @author thomas
 */
public class NotificationActionEvent {

    private String ch;
    private TypeNotificationEnum erreur;

    public TypeNotificationEnum getErreur() {
        return erreur;
    }
    public boolean hasError(){
        return !(erreur==null);
    }

    public void setErreur(TypeNotificationEnum erreur) {
        this.erreur = erreur;
    }
    public String getCh() {
        return ch;
    }

    public void setCh(String ch) {
        this.ch = ch;
    }

    public NotificationActionEvent(String chaine) {
        ch = chaine;
    }
    
    
}
